import request from '@/utils/request'

// 查询公寓租赁费用列表
export function listFeApartment(query) {
  return request({
    url: '/life/feApartment/list',
    method: 'get',
    params: query
  })
}

// 新增公寓租赁费用
export function addFeApartment1(data) {
  return request({
    url: '/life/feApartment/addFeApartment',
    method: 'post',
    data: data
  })
}

// 查询公寓租赁费用详细
export function getFeApartment(id) {
  return request({
    url: '/life/feApartment/' + id,
    method: 'get'
  })
}

// getVO,查询公寓租赁费用详细VO
export function getFeApartmentVO(id) {
  return request({
    url: '/life/feApartment/getVO/' + id,
    method: 'get'
  })
}

// 新增公寓租赁费用
export function addFeApartment(data) {
  return request({
    url: '/life/feApartment',
    method: 'post',
    data: data
  })
}

// 修改公寓租赁费用
export function updateFeApartment(data) {
  return request({
    url: '/life/feApartment',
    method: 'put',
    data: data
  })
}

// 修改公寓租赁费用
export function updateFeApartment1(data) {
  return request({
    url: '/life/feApartment/updateFeApartment',
    method: 'put',
    data: data
  })
}
// 删除公寓租赁费用
export function delFeApartment(id) {
  return request({
    url: '/life/feApartment/' + id,
    method: 'delete'
  })
}
